module.exports = {
    middleware: ['assign', 'access'],
    assign: {
        match(ctx) {
            // 非静态资源开启
            const reg = /.(jpg|jpeg|png|gif|ico|css|js)$/;

            return !reg.test(ctx.request.url);
        }
        // enable: true, ignore: '',para: '',
    }
};